<template>
  <div>
    <van-nav-bar title="标题" left-text="返回" left-arrow @click-left="onClickLeft" />
  </div>
</template>

<script setup>
import { useRouter } from 'vue-router'

const router = useRouter()

function onClickLeft() {
  router.back()
}
</script>

<style></style>